<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="description" content="pear-admin-flask">
  <meta name="keyword" content="pear-admin-flask">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="{{ url_for('static', filename='/index/layui/css/layui.css') }}"/>
  <link rel="stylesheet" href="{{ url_for('static', filename='/index/css/main.css') }}"/>
  <link rel="stylesheet" href="{{ url_for('static', filename='/index/css/load.css') }}"/>
  <style>
      .layui-nav .layui-this:after {
          display: none;
      }

      .layui-nav .layui-nav-bar {
          display: none;
      }
  </style>
  <title>首页</title>
</head>
<body>
<!-- header -->
<div class="ew-header">
  <div class="ew-nav-group">
    <div class="nav-toggle"><i class="layui-icon layui-icon-more-vertical"></i></div>
    <ul class="layui-nav" lay-filter="ew-header-nav">
      {% if client_user %}
        <li class="layui-nav-item">
          <a href="{{url_for('user.get_user_info_index')}}">{{ client_user.realname }}</a>
        </li>
        <li class="layui-nav-item">
          <a href="{{url_for('user.user_logout')}}">注销</a>
        </li>
      {% else %}
        <li class="layui-nav-item">
          <a href="{{ url_for('user.user_login') }}">登录</a>
        </li>
        <li class="layui-nav-item">
          <a href="{{ url_for('user.user_register') }}" target="_blank">注册</a>
        </li>
      {% endif %}
    </ul>
  </div>
</div>
<!-- content -->
<div class="layui-container">
  <div class="showImg">
    <img src="{{ url_for('static',filename="/index/images/adventure.svg") }}" alt="" style="width: 25%;margin-left: 35%;margin-top: 2%"/>
  </div>
  <div class="main-box" style="margin-left: 20%">
    <div class="title">
      Magic Club
    </div>
    <div class="search-box" style="margin-top: 8px">
      <form action="{{ url_for("spiderIndex.get_search_res") }}" class="layui-form">
        <div class="layui-form-item">
          <div class="search-input">
            <input type="text" placeholder="输入关键字:华南" value="华南" name="keyWord"><button type="submit" lay-submit lay-filter="msg-query">
            <i class="layui-icon layui-icon-search" style="font-size: 30px; color: #fff;"></i>
          </button>
          </div>
        </div>
      </form>
    </div>
  </div>
</div>
{% include 'admin/common/footer.html' %}
</body>
</html>

<style>
    .title {
        font-size: 30px !important;
        font-weight: 550 !important;
        color: #00B0FF !important;
        display: inline-block !important;
        height: 45px !important;
        line-height: 60px !important;
    }

    .search-box input {
        font-size: 20px;
        width: 60%;
        height: 45px;
        box-sizing: border-box;
        border: 1px solid #00B0FF;
        outline: 0;
        border-top-left-radius:5px;
        border-bottom-left-radius:5px;
        padding-left:10px;
    }

    .search-box button {
        width: 10%;
        height: 45px;
        vertical-align: top;
        border: none;
        outline: none;
        background: #00B0FF;
        border-top-right-radius:5px;
        border-bottom-right-radius:5px;
    }
    .search-input:focus{
        box-shadow: 0px 0px 2px 1px #536DFE !important;
    }
</style>